package com.cloud.config.feign;

import com.cloud.entity.SysLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "cloud-bridge", contextId = "ConsumerBridgeFeign")
public interface ConsumerBridgeFeign {
    @PostMapping(value = "/cloud-log-record-consumer/batchInsertLog")
    void batchInsertLog(@RequestBody List<SysLog> sysLog);
}
